GET api/Personal/Order/InventorySoldByDate?inventoryID[0]={inventoryID[0]}&inventoryID[1]={inventoryID[1]}&collectionID[0]={collectionID[0]}&collectionID[1]={collectionID[1]}&repDID={repDID}&startOrderDate={startOrderDate}&endOrderDate={endOrderDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| inventoryID | Collection of string |
Required |
|
| collectionID | Collection of string |
Required |
|
| repDID | string |
None. |
|
| startOrderDate | date |
None. |
|
| endOrderDate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of OrderByProductIDViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| OrderDate | date |
None. |
|
| Products | Collection of OrderByProductIDDetailViewModel |
None. |
Response Formats
application/xml, text/xml
Sample:
<ListOfOrderByProductIDViewModel>
<OrderByProductIDViewModel>
<OrderID>1</OrderID>
<OrderDate>12/14/2025 03:35:46</OrderDate>
<Products>
<OrderByProductIDDetailViewModel>
<InventoryID>sample string 1</InventoryID>
<ProductID>sample string 2</ProductID>
<Quantity>3</Quantity>
</OrderByProductIDDetailViewModel>
<OrderByProductIDDetailViewModel>
<InventoryID>sample string 1</InventoryID>
<ProductID>sample string 2</ProductID>
<Quantity>3</Quantity>
</OrderByProductIDDetailViewModel>
</Products>
</OrderByProductIDViewModel>
<OrderByProductIDViewModel>
<OrderID>1</OrderID>
<OrderDate>12/14/2025 03:35:46</OrderDate>
<Products>
<OrderByProductIDDetailViewModel>
<InventoryID>sample string 1</InventoryID>
<ProductID>sample string 2</ProductID>
<Quantity>3</Quantity>
</OrderByProductIDDetailViewModel>
<OrderByProductIDDetailViewModel>
<InventoryID>sample string 1</InventoryID>
<ProductID>sample string 2</ProductID>
<Quantity>3</Quantity>
</OrderByProductIDDetailViewModel>
</Products>
</OrderByProductIDViewModel>
</ListOfOrderByProductIDViewModel>
application/json, text/json
Sample:
[
{
"OrderID": 1,
"OrderDate": "2025-12-14T03:35:46.666865-05:00",
"Products": [
{
"InventoryID": "sample string 1",
"ProductID": "sample string 2",
"Quantity": 3
},
{
"InventoryID": "sample string 1",
"ProductID": "sample string 2",
"Quantity": 3
}
]
},
{
"OrderID": 1,
"OrderDate": "2025-12-14T03:35:46.666865-05:00",
"Products": [
{
"InventoryID": "sample string 1",
"ProductID": "sample string 2",
"Quantity": 3
},
{
"InventoryID": "sample string 1",
"ProductID": "sample string 2",
"Quantity": 3
}
]
}
]